package com.xnew.entity.memberinfo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;


/**
* @Author: Zhozh
* @Description: 入会申请主要领导信息
* @DateTime: 2022/4/12
* @Params: 
* @Return 
*/
@TableName("t10_main_leader_brfintr")
public class MainLeaderBrfintr implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 主要领导简况编号
    */
    @TableId("main_leader_brfintr_no")
    private String mainLeaderBrfintrNo;

    /**
    * 入会申请资料编号
    */
    private String memshpApplyInfomaNo;

    /**
    * 性别编码
    */
    private String sexCode;

    /**
    * 学历编码
    */
    private String eduCode;

    /**
    * 职务名称
    */
    private String dutyName;

    /**
    * 领导姓名
    */
    private String leaderName;

    /**
    * 出生年月
    */
    private String birthYearMth;

    /**
    * 拥有的从业资格
    */
    private String ownCrerQlfy;

    /**
    * 从事金融行业年限
    */
    private String goinFinInduYears;

    /**
    * 是否删除(0.未删除 ; 1.已删除)
    */
    private int isDelete;



    public MainLeaderBrfintr() {
    }

    public String getMainLeaderBrfintrNo() {
        return mainLeaderBrfintrNo;
    }

    public void setMainLeaderBrfintrNo(String mainLeaderBrfintrNo) {
        this.mainLeaderBrfintrNo = mainLeaderBrfintrNo;
    }

    public String getMemshpApplyInfomaNo() {
        return memshpApplyInfomaNo;
    }

    public void setMemshpApplyInfomaNo(String memshpApplyInfomaNo) {
        this.memshpApplyInfomaNo = memshpApplyInfomaNo;
    }

    public String getSexCode() {
        return sexCode;
    }

    public void setSexCode(String sexCode) {
        this.sexCode = sexCode;
    }

    public String getEduCode() {
        return eduCode;
    }

    public void setEduCode(String eduCode) {
        this.eduCode = eduCode;
    }

    public String getDutyName() {
        return dutyName;
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public String getLeaderName() {
        return leaderName;
    }

    public void setLeaderName(String leaderName) {
        this.leaderName = leaderName;
    }

    public String getBirthYearMth() {
        return birthYearMth;
    }

    public void setBirthYearMth(String birthYearMth) {
        this.birthYearMth = birthYearMth;
    }

    public String getOwnCrerQlfy() {
        return ownCrerQlfy;
    }

    public void setOwnCrerQlfy(String ownCrerQlfy) {
        this.ownCrerQlfy = ownCrerQlfy;
    }

    public String getGoinFinInduYears() {
        return goinFinInduYears;
    }

    public void setGoinFinInduYears(String goinFinInduYears) {
        this.goinFinInduYears = goinFinInduYears;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private Map<String, Object> dictNameResult = new HashMap<String, Object>();

    public Map<String, Object> getDictNameResult() {
        return dictNameResult;
    }

    public void setDictNameResult(Map<String, Object> dictNameResult) {
        this.dictNameResult = dictNameResult;
    }

    //数据字典
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeField(){
        return new String[]{"sexCode","eduCode","isDelete"};
    }

    /*数据字典*/
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeType(){
        return new String[]{"DG0072","DG0469","DG0104"};
    }
}